<?php
include_once dirname(dirname(__FILE__)) . '/clases/class_carrito.php';
include_once dirname(dirname(__FILE__)) . '/filtro_admin.php';
include_once dirname(dirname(__FILE__)) . '/funciones/basicas.php';
include_once dirname(dirname(__FILE__)) . '/funciones/funcionescarrito.php';
?>
<html>
<head>
<title>listar productos nota de credito</title>
<?php include_once dirname(dirname(__FILE__)) . '/header.php'; ?>
</head>
<body style="margin: 0px;">
<?php
if(isset($_GET['linea']) && $_GET['linea']!="")
{
$_SESSION["carrito_nota"]->elimina_producto($_GET['linea']);
echo "<script>parent.location.reload();</script>";
}
imprime_carrito($_SESSION["carrito_nota"]);
?>		
</body>
</html>